public class max {
    public static void main(String[] args) {
        int [] arr = {1,2,3,44,45,92,12,68};
        int max =arr[0];
        for(int i =1;max<arr.length;i++) {
            if (arr[i] > max) {
                max =arr[i];
            }
        }
        System.out.println(max);
    }
}
